<div class="table-filter table-item" data-type="animator">
	<div class="table-link ">
		<div class="table-link-content ">
			<div class="large-12 columns">
				<a class="button columns" href="<?php 
					if($model->type==ConstProductType::CatalogItem){
						echo $this->createUrl('catalogItem/view', array('id'=>$model->id));
					}else{
						echo $this->createUrl('news/view', array('id'=>$model->id));
					}
				?>">View</a>
			</div>
		</div>
	</div>
	<div class="table-contents">
		<?php 
			if(count($model->pictures)>0){
				echo '<div class=" large-4 columns">
						<div class="icon grid_1">
							<span class="helper"></span>
							<img src="'.$model->pictures[0]->url.'" />
						</div>
					</div>
					<div class="large-8 columns text">';
			}else{
				echo '<div class="large-12 columns text">';
			}
		?>
			<h4><?php echo $model->title; ?></h4>
			<p class="desc"><small class="smaller nm"><?php echo $model->description; ?></small></p>
		</div>
	</div>
</div>